package com.xbongbong.saas.model;

import com.xbongbong.saas.domain.entity.DingBundleRankEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
/** 
 * @author chenshan
 * @version v1.0
 * @since 2019-08-16 10:49
 */
public interface DingBundleRankModel extends IModel<DingBundleRankEntity> {
	
	public void insertBatch(List<DingBundleRankEntity> DingBundleRankList);

	public Integer save(DingBundleRankEntity entity);

	public DingBundleRankEntity getEntity(Long id, String corpid);

	public Integer deleteByIds(List<Long> ids, String corpid);
	
	public Integer updateBatch(List<Long> ids, String corpid,Integer isPush,String pushUrl);

	public Integer dataConsistencyUpdateUser(String corpid, String userId, String name, String avatar);
    public Integer deleteByRecordTime(String corpid,String openConversationId, Long rankTimeStart, Long rankTimeEnd);
}